package com.ruoyi.kycinfo.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营销宣传品发放记录
 对象 grant_record
 *
 * @author wzk
 * @date 2023-10-02
 */

public class GrantRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 客户号 */
    @Excel(name = "客户号")
    private Long clientId;

    private List<Long> userInfoIdList;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String clientName;

    /** 客户层级 */
    @Excel(name = "客户层级")
//    private Long clientLevel;
    private String clientLevel;
    private String clientLevel2;

    /** 客户领取礼品品类 */
    @Excel(name = "客户领取礼品品类")
//    private Long getType;
    private String getType;
    private String getType2;

    /** 客户领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户领取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date getTime;

    /** 礼品发放人员 */
    @Excel(name = "礼品发放人员")
    private String grantStaff;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String grantRemark;

    public List<Long> getUserInfoIdList() {
        return userInfoIdList;
    }

    public String getClientLevel2() {
        return clientLevel2;
    }

    public void setClientLevel2(String clientLevel2) {
        this.clientLevel2 = clientLevel2;
    }

    public String getGetType2() {
        return getType2;
    }

    public void setGetType2(String getType2) {
        this.getType2 = getType2;
    }

    public void setUserInfoIdList(List<Long> userInfoIdList) {
        this.userInfoIdList = userInfoIdList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClientId(Long clientId)
    {
        this.clientId = clientId;
    }

    public Long getClientId()
    {
        return clientId;
    }
    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getClientName()
    {
        return clientName;
    }
    public void setClientLevel(String clientLevel)
    {
        this.clientLevel = clientLevel;
    }

    public String getClientLevel()
    {
        return clientLevel;
    }
    public void setGetType(String getType)
    {
        this.getType = getType;
    }

    public String getGetType()
    {
        return getType;
    }
    public void setGetTime(Date getTime)
    {
        this.getTime = getTime;
    }

    public Date getGetTime()
    {
        return getTime;
    }
    public void setGrantStaff(String grantStaff)
    {
        this.grantStaff = grantStaff;
    }

    public String getGrantStaff()
    {
        return grantStaff;
    }
    public void setGrantRemark(String grantRemark)
    {
        this.grantRemark = grantRemark;
    }

    public String getGrantRemark()
    {
        return grantRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("clientId", getClientId())
                .append("clientName", getClientName())
                .append("clientLevel", getClientLevel())
                .append("getType", getGetType())
                .append("getTime", getGetTime())
                .append("grantStaff", getGrantStaff())
                .append("grantRemark", getGrantRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
